package dfbz.demo02;

public class Test01 {
    public static void main(String[] args) {
        Coder coder=new Coder("小琴",19);
        Teacher teacher=new Teacher("小段",20);
        coder.show();
        coder.eat();
        coder.sleep();
        coder.code();
        System.out.println("----------------------------");
        teacher.show();
        teacher.eat();
        teacher.sleep();
        teacher.Teach();
    }
}
